<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>


<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><s:a cssClass="add" namespace="/Decoratent" action="add" target="navTab"><span>添加</span></s:a></li>
			<li><s:a cssClass="delete" namespace="/Decoratent" action="delete?dec.decId={decId}"  target="ajaxTodo" title="确定要删除吗?"><span>删除</span></s:a></li>
			<li><s:a cssClass="edit" namespace="/Decoratent" action="update?dec.decId={decId}" target="navTab"><span>修改</span></s:a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="80"></th>
				<th width="120">编号</th>
				<th>工程进度完成情况</th>
				<th width="100">工程日期</th>
				<th width="150">工程预期目标</th>
				<th width="80">操作</th>
			</tr>
		</thead>
		<tbody>
		    <s:iterator value="decList" var="dec">
			<tr target="decId" rel='<s:property value="#dec.decId"/>'>
				<td></td>
				<td><s:property value="#dec.decId"/></td>
				<td><s:property value="#dec.decPlan"/></td>
				<td><s:property value="#dec.decData"/></td>
				<td><s:property value="#dec.exp.expPlan"/></td>
				<td></td>
			</tr>
			</s:iterator>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示20条
			，共${totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="${totalCount}" numPerPage="20" pageNumShown="10" currentPage="${pageNum }"></div>
	</div>
</div>
